{
child = value;
- if (!gtk_widget_get_visible (child->widget))
- continue;
-
-
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{
gtk_widget_measure (child->widget, orientation, -1, &child_min, &child_nat, NULL, NULL);
{
child = value;
- if (!gtk_widget_get_visible (child->widget))
- continue;
-
gtk_widget_get_preferred_size (child->widget, &child_requisition, NULL);
child_allocation.x = round (child->x * (width - child_requisition.width));
child_allocation.y = round (child->y * (height - child_requisition.height));
GtkWidget *widget)
{
GtkFishbowlPrivate *priv = gtk_fishbowl_get_instance_private (fishbowl);
- GtkWidget *widget_bowl = GTK_WIDGET (fishbowl);
if (g_hash_table_remove (priv->children, widget))
{
- gboolean was_visible = gtk_widget_get_visible (widget);
-
gtk_widget_unparent (widget);
- if (was_visible && gtk_widget_get_visible (widget_bowl))
- gtk_widget_queue_resize (widget_bowl);
-
priv->count--;
g_object_notify_by_pspec (G_OBJECT (fishbowl), props[PROP_COUNT]);
}